<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
	<head>
		<title>${application}</title>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<style type="text/css" media="screen">
			html, body, #${application}_div	
			{ height:100%; }
			
			body
			{ margin:0; padding:0; overflow:hidden; }
		</style>
		<link rel="stylesheet" type="text/css" href="history/history.css" />
		<script type="text/javascript" src="swfobject.js"></script>
		<script type="text/javascript" src="history/history.js" ></script>
<!--
		<script type="text/javascript" src="firebug/firebug-lite-compressed.js" ></script>
-->
		<script type="text/javascript" src="mixercast/utils.js" ></script>
		
		<script type="text/javascript">
      		var flashvars = {
    	    	mediaLibraryUrl: "assets/xml/feeds/mediaCriteriaFeed.xml"
//    	    	, editMode: "edit"
//   	    	, storyboardUrl: "assets/xml/storyboard.xml"
    	    	, userUploadedMediaUrl: "http%3A//203.193.188.103/apps/creator/videocontest/getGalleryRSS.jsp%3FmemberId%3D1%26appId%3D23"
		    }
		    flashvars = mixercast.mixinQueryParams(flashvars);	    
			    			
			var params = {
			  menu: "false"
			};
			
			var attributes = {
			  id: "${application}",
			  name: "${application}"
			};
    		
	   		swfobject.embedSWF (	"${swf}.swf", 
	   								"${application}_div",
	   								"${width}", 
	   								"${height}", 
	   								"${version_major}", 
	   								"expressInstall.swf", 
	   								flashvars, 
	   								params, 
	   								attributes );
	   								
	   		swfobject.addLoadEvent(loadEventHandler);
	   		
			function loadEventHandler() 
			{
				BrowserHistory.flexApplication = swfobject.getObjectById("${application}");
			}
	   		
	    </script>
		<style>
			body { margin: 0px; overflow:hidden }
		</style>
	</head>
	<body scroll="no">
		<div id="${application}_div">
			 <p>Alternative content</p>
		</div>
	</body>
</html>
